package com.medisign.sign.log.web;

import com.medisign.sign.log.service.IRepairService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/repair/log")
@RequiredArgsConstructor
@RestController
public class RepairController {

    private final IRepairService repairService;

    @RequestMapping("/date")
    public String date() {
        repairService.repairDate();
        return "success";
    }

}
